package pagelib;

public class PhoneTypesPage extends Page{
		
	public void clickOnPhone(String phoneID)
	{
		clickVisibleLink(phoneID);
	}
		
	/*
	public String getPhonePrice(String phoneID)
	{
		String price=null;
		price = getElementText(phoneID);
		return (price);
	}
	*/
	public void clickAddPhoneToCart(String idLink)
	{
		super.clickAddToCart(idLink);
	}
	
	public String getPhonePrice(String phoneID)
	{
		return super.getPrice(phoneID);
	}

	public void enterZip(String ID, String zipCode)
	{
		BO.type(ID,zipCode);
	//****************************************************wanted to test typekeys method
		
	//	BO.typeKeys(ID,"gmail");
	//	BO.keyPressNative("67");
	//	BO.typeKeys(ID,"com");
	//*******************************************************

	}
	
	public String getMessage(String ID)
	{
		String msgString = null;
		msgString = getElementText(ID);
		return (msgString);
	}
		
}
